﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WorkNodeFramework
{
    /// <summary>
    /// Summary for the ConfigurationSectionName class
    /// </summary>
    public class ConfigurationSectionName
    {
        public const string PROVIDERS = "providers";
        public const string WORK_NODE_SERVICE = "WorkNodeService";
    }

    /// <summary>
    /// Summary for the DataProviderTypeName class
    /// </summary>
    public class DataProviderTypeName
    {
        public const string MY_SQL = "MySqlDataProvider";
        public const string ORACLE = "OracleDataProvider";
        public const string SQL_CE = "SqlCEProvider";
        public const string SQL_SERVER = "SqlDataProvider";
        public const string SQLITE = "SQLiteDataProvider";
    }

    /// <summary>
    /// Summary for the ConfigurationPropertyName class
    /// </summary>
    public class ConfigurationPropertyName
    {
        public const string CONNECTION_STRING_NAME = "connectionStringName";
        public const string DEFAULT_PROVIDER = "defaultProvider";
        public const string ENABLE_TRACE = "enableTrace";
        public const string PROVIDER_TO_USE = "provider";
    }

    /// <summary>
    /// Summary for the SqlSchemaVariable class
    /// </summary>
    public class SqlSchemaVariable
    {
        public const string COLUMN_DEFAULT = "DefaultSetting";
        public const string COLUMN_NAME = "ColumnName";
        public const string CONSTRAINT_TYPE = "constraintType";
        public const string DATA_TYPE = "DataType";
        public const string DEFAULT = "DEFAULT";
        public const string FOREIGN_KEY = "FOREIGN KEY";
        public const string IS_COMPUTED = "IsComputed";
        public const string IS_IDENTITY = "IsIdentity";
        public const string IS_NULLABLE = "IsNullable";
        public const string ALLOW_DBNULL = "AllowDBNull";
        public const string MAX_LENGTH = "MaxLength";
        public const string MODE = "mode";
        public const string MODE_INOUT = "INOUT";
        public const string NAME = "Name";
        public const string NUMERIC_PRECISION = "NumericPrecision";
        public const string NUMERIC_SCALE = "NumericScale";
        public const string PARAMETER_PREFIX = "@";
        public const string PRIMARY_KEY = "PRIMARY KEY";
        public const string TABLE_NAME = "TableName";
    }
}
